package figure8.Network;

import figure8.events.NetworkEventListener;

public interface NetworkConnection extends Runnable {
	public void addNetworkEventListener(NetworkEventListener listener);
	public void removeNetworkEventListener(NetworkEventListener listener);
	public void send(Message message);
	public void send(Message message, Client exclude);
	public void disconnect();
	public boolean isHost();
}
